﻿@model Helena.Areas.Categorias.Models.CategoriaView
@using Telerik.Web.Mvc.UI
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@Html.Telerik().ScriptRegistrar().Globalization(true)
@using (Html.BeginForm())
{ 
    @Html.ValidationSummary(true)
    <fieldset>    
        <legend></legend>   
        <div class="editor-label">
        @Html.LabelFor(model => model.NombreCategoria)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NombreCategoria)
            @Html.ValidationMessageFor(model => model.NombreCategoria)
        </div>
        <div class="editor-label">
        @Html.LabelFor(model => model.Descripcion)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Descripcion)
            @Html.ValidationMessageFor(model => model.Descripcion)
        </div>
        <div class="editor-label">
        @Html.LabelFor(model => model.Estado)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(model => model.Estado)
            @Html.ValidationMessageFor(model => model.Estado)
        </div>
    </fieldset>
}